
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
ed25519-supercop
Advanced tools
ed25519 curve operations using a supercop/ref10 implementation
This module provides C++ bindings for orlp/ed25519 (formerly nightcracker/ed25519).
supercop implementations use the same algorithm but different key formatting than sodium/nacl keys.
bittorrent's dht_store (bep44) extension uses supercop keys.
For a pure javascript emscripten implementation, see:
var ed = require('ed25519-supercop')
Generate seed
, a 32-byte buffer of cryptographically secure random data.
Generate keypair
from a 32-byte seed
buffer.
keypair.publicKey
- public key data (32 byte buffer)keypair.secretKey
- secret/private key data (64 byte buffer)Generate a 64-byte signature
given:
message
(string or buffer)publicKey
(32-byte buffer or hex string)secretKey
(64-byte buffer or hex string)Return a boolean ok
, true if the 64-byte buffer or hex string signature
signs a buffer or string message
with the 32-byte or hex string publicKey
.
npm install ed25519-supercop
MIT
FAQs
ed25519 curve operations using a supercop/ref10 implementation
The npm package ed25519-supercop receives a total of 121 weekly downloads. As such, ed25519-supercop popularity was classified as not popular.
We found that ed25519-supercop demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.